package test3

object TestHanshu {
  def main(args: Array[String]): Unit = {
    val f1=(x:Int)=>{x*x+1}//Method
    println(f1)
    var i1=f1(20);
    println(i1);
    i1=f1(12);
    println(i1);
  }
}
